
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
	"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>

<script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script>
	
	<?php echo $this->headTitle() ?>
	<?php echo $this->headMeta() ?>
    <?php echo $this->headLink() ?>    
    <?php echo $this->headStyle() ?>
    <?php echo $this->headScript() ?>	
    <?php $url = $this->baseUrl();?>
    
</head>
<body>

<input type="hidden" id="url" value="<?php echo $url;?>" />

<?php foreach($this->list_chanel as $key => $val):?>
                    	
 <div class="tweet" style="border: 0; height: auto;  clear: left; opacity:1; >
                    
                    <div class="content">                    			
                    	
                    
                    	<div class="stream-item-header">
                    	
                    		<div class="account-group">
                    		
                    			<img class="avatar-follower" src="<?php echo $url;?>/upload/<?php echo $val["logo"];?>" alt="<?php echo $val["name"]?>">
                    
                    <div style="float: left; width: 85%;">                    						
                    	<a href="<?php echo $url; ?>/chanel/?id=<?php echo $val["id"]; ?>" target="_blank" style="text-decoration:none;"><strong class="fullname"><?php echo $val["name"]?></strong></a>
                    
                    <p><?php echo $val["description"]?></p>
                    
                    <button id="btn-follow<?php echo $val["id"];?>" class="btn" onclick="followChanel('<?php echo $val["id"];?>');">Kết nối</button>
                    
                    <p id="follow-success<?php echo $val["id"];?>" style="display: none;">
                    <span class="icon-ok"></span>
                    <span>Đã kết nối</span>
                    </p>
                    
                    <p></p>
                    
                    </div>
                    
                    </div>
                    
                    
                    
                    
                    
                    </div>
                    
                    
                    </div>
                    
                    </div>
                    
 <?php endforeach;?>
 
 

</body>

</html>